﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_QuanLy.cshtml";
}
<h2>
    Index</h2>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
    @*<tr>
        <td>
            <div class="filter-block">
                <table class="filter" width="100%">
                    <tr>
                        <td style="width: 90px">
                            Chủ đầu tư
                        </td>
                        <td width="10px">
                            :
                        </td>
                        <td>
                            <%=Html.DropDownListFor(model => model.ChuDauTuList, new SelectList(Model.ChuDauTuList, "Id", "TenChuDauTu"), "-- Tất cả --", new { @class = "combobox" })%>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Trạng thái
                        </td>
                        <td>
                            :
                        </td>
                        <td>
                             <%=Model.TrangThaiList %>
                                <%=Html.Hidden("HopDong.TrangThai") %>
                        </td>
                    </tr>
                </table>
            </div>
        </td>
    </tr>*@
    <tr>
        <td>
            <div class="button-block">
                @*<input type="button" class="search-button" value="Tìm kiếm" />*@
                <input type="button" value="Thêm" onclick="Redirect('@Url.Action("Add", new { area = "QuanLy", Controller = "TaiKhoan" })')" />
                <input type="button" value="Sửa" onclick="Action('@Url.Action("Edit", "Edit")', 'grid')" />
                <input type="button" value="Xóa" onclick="deleteNhanVien()" />
            </div>
        </td>
    </tr>
    <tr>
        <td>
            <span id="status"></span>
        </td>
    </tr>
</table>
<br />
<div class="smoothness">
    <div id="grid_wrapper" style="width: 100%;">
        <table id="grid" class="scroll" cellpadding="0" cellspacing="0">
        </table>
        <div id="pager" class="scroll" style="text-align: center;">
        </div>
    </div>
</div>
<br />
<table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
        <td>
            <div class="button-block-bottom">
                @*<input type="button" class="search-button" value="Tìm kiếm" />*@
                <input type="button" value="Thêm" onclick="Redirect('@Url.Action("Add", new { area = "QuanLy", Controller = "TaiKhoan" })')" />
                <input type="button" value="Sửa" onclick="Action('@Url.Action("Edit", "Edit")', 'grid')" />
                <input type="button" value="Xóa" onclick="deleteNhanVien()" />
            </div>
        </td>
    </tr>
</table>
<script language="javascript" type="text/javascript" src="@Url.Content("~/Areas/QuanLy/Scripts/TaiKhoan.js")"></script>
